package com.kk.exception;

public class FramePageException extends Exception 
{
	private static final long serialVersionUID = -1960128186514567401L;
	
	public static final int ERR_DUPL_TAB = 1;
	public static final int ERR_MAX_TAB_COUNT = 2;
	
	private String _pageId;
	private int _errCode;
	private String _pageUrl;
	
	public FramePageException(String pageId, String pageUrl, int errCode)
	{
		this._pageId = pageId;
		this._pageUrl = pageUrl;
		this._errCode = errCode;
	}
	
	public String getPageId()
	{
		return this._pageId;
	}
	
	public String getPageUrl()
	{
		return this._pageUrl;
	}
	
	public int getErrCode()
	{
		return this._errCode;
	}
	
	@Override
	public String toString()
	{
		return this._pageId + " : " + this._pageUrl + " : " + this._errCode;
	}
}
